﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace OCRTheNewHope
{
    class Program
    {
        public static Random rnd = new Random();

        private static void CreateThresholdCandidates()
        {
            Feature.ThresholdCandidates = new double[2, Parameters.NumberOfThresholds];

            for (int idx = 0; idx < Parameters.NumberOfThresholds; idx++)
            {
                Feature.ThresholdCandidates[0, idx] = rnd.NextDouble() * 2 - 1; //normalized to -[1,1]
                Feature.ThresholdCandidates[1, idx] = rnd.NextDouble();
            }
        }

        static void Main(string[] args)
        {
            CreateThresholdCandidates();
            Parameters.StartingTime = DateTime.Now;
            
            Forest forest = new Forest(Parameters.TrainPath, Parameters.TestPath, 1, 180000);        
        }        
    }
}
